package com.ruoyi.project.web.examReslut.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.ruoyi.project.web.examPaper.domain.ExamPaper;
import com.ruoyi.project.web.quesInfo.domain.QuesInfo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 考试结果对象 web_exam_reslut
 * 
 * @author ruoyi
 * @date 2021-01-29
 */
public class ExamReslut extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long resultId;

    /** 用户 */
    @Excel(name = "用户")
    private Long userId;

    /** 参加考试 */
    @Excel(name = "参加考试")
    private Long examId;

    /** 教育类型 */
    @Excel(name = "教育类型")
    private String learnType;

    /** 试卷得分 */
    @Excel(name = "试卷得分")
    private BigDecimal score;

    /** 是否合格 */
    @Excel(name = "是否合格")
    private String passFlag;


    /** 状态 */
    @Excel(name = "状态")
    private String status;

    private String accountName;
    private Date startTime;
    private Integer errorNum;
    private Integer rightNum;
    private String accuracy;
    private String spentStr;
    private String listStr;
    private Integer runNum;
    private ExamPaper paper;
    private List<DetailEntity> detailList;

    private Date nowDate;

    public Date getNowDate() {
        return nowDate;
    }

    public void setNowDate(Date nowDate) {
        this.nowDate = nowDate;
    }

    public Integer getRunNum() {
        return runNum;
    }

    public void setRunNum(Integer runNum) {
        this.runNum = runNum;
    }

    public String getListStr() {
        return listStr;
    }

    public void setListStr(String listStr) {
        this.listStr = listStr;
    }

    public ExamPaper getPaper() {
        return paper;
    }

    public void setPaper(ExamPaper paper) {
        this.paper = paper;
    }



    public Integer getErrorNum() {
        return errorNum;
    }

    public void setErrorNum(Integer errorNum) {
        this.errorNum = errorNum;
    }

    public Integer getRightNum() {
        return rightNum;
    }

    public void setRightNum(Integer rightNum) {
        this.rightNum = rightNum;
    }

    public String getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(String accuracy) {
        this.accuracy = accuracy;
    }

    public String getSpentStr() {
        return spentStr;
    }

    public void setSpentStr(String spentStr) {
        this.spentStr = spentStr;
    }

    public List<DetailEntity> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<DetailEntity> detailList) {
        this.detailList = detailList;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public void setResultId(Long resultId)
    {
        this.resultId = resultId;
    }

    public Long getResultId()
    {
        return resultId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setExamId(Long examId)
    {
        this.examId = examId;
    }

    public Long getExamId()
    {
        return examId;
    }
    public void setLearnType(String learnType)
    {
        this.learnType = learnType;
    }

    public String getLearnType()
    {
        return learnType;
    }
    public void setScore(BigDecimal score)
    {
        this.score = score;
    }

    public BigDecimal getScore()
    {
        return score;
    }
    public void setPassFlag(String passFlag)
    {
        this.passFlag = passFlag;
    }

    public String getPassFlag()
    {
        return passFlag;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return "ExamReslut{" +
                "resultId=" + resultId +
                ", userId=" + userId +
                ", examId=" + examId +
                ", learnType='" + learnType + '\'' +
                ", score=" + score +
                ", passFlag='" + passFlag + '\'' +
                ", status='" + status + '\'' +
                ", accountName='" + accountName + '\'' +
                ", startTime=" + startTime +
                ", errorNum=" + errorNum +
                ", rightNum=" + rightNum +
                ", accuracy='" + accuracy + '\'' +
                ", spentStr='" + spentStr + '\'' +
                ", listStr='" + listStr + '\'' +
                ", runNum=" + runNum +
                ", paper=" + paper +
                ", detailList=" + detailList +
                '}';
    }
}
